package me.zhengjie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.common.vo.PageVo;
import me.zhengjie.common.vo.Result;
import me.zhengjie.common.vo.SearchVo;
import me.zhengjie.entity.BasicHousingManage;

import javax.servlet.http.HttpServletResponse;
/**
 *@author
 **/
public interface IBasicHousingManageService extends IService<BasicHousingManage> {

    /**
     * 功能描述：根据主键来获取数据
     * @param id 主键
     * @return 返回获取结果
     */
    public Result<Object> getBasicHousingManageById(String id);

    /**
     * 功能描述：实现分页查询
     * @param basicHousingManage 需要模糊查询的信息
     * @param searchVo 排序参数
     * @param pageVo 分页参数
     * @return 返回获取结果
     */
    public Result<Object> queryBasicHousingManageListByPage(BasicHousingManage  basicHousingManage, SearchVo searchVo, PageVo pageVo);

    /**
     * 功能描述： 导出
     * @param basicHousingManage 查询参数
     * @param response response参数
     */
    public void download(BasicHousingManage  basicHousingManage, HttpServletResponse response) ;

    /**
     * 功能描述：模糊查询所有信息
     * @return 返回获取结果
     */
    public Result<Object> queryHousingManage(BasicHousingManage basicHousingManage);
}
